export default [
  {
    path: '/prediction',
    component: () => import('@/views/layout/AppLayout.vue'),
    redirect: '/prediction/batch',
    meta: {
      title: '流失预测',
      icon: 'TrendCharts',
      roles: ['admin', 'analyst', 'manager']
    },
    children: [
      {
        path: 'batch',
        component: () => import('@/views/prediction/BatchPredictionView.vue'),
        name: 'BatchPrediction',
        meta: {
          title: '批量预测',
          icon: 'Files'
        }
      },
      {
        path: 'single',
        component: () => import('@/views/prediction/SinglePredictionView.vue'),
        name: 'SinglePrediction',
        meta: {
          title: '单客户预测',
          icon: 'User'
        }
      },
      {
        path: 'alert',
        component: () => import('@/views/prediction/AlertManagementView.vue'),
        name: 'AlertManagement',
        meta: {
          title: '预警管理',
          icon: 'Bell'
        }
      }
    ]
  }
] 